package com.czy;

import java.util.*;

public class 去除实体类注释 {
    public static void main(String[] args) {
        String s = "/**\n" +
                "     * 县市\n" +
                "     */\n" +
                "    private String area;\n" +
                "\n" +
                "    /**\n" +
                "     * 支局\n" +
                "     */\n" +
                "    private String suboffice;\n" +
                "\n" +
                "    /**\n" +
                "     * 装维人员\n" +
                "     */\n" +
                "    private String receiptPerson;\n" +
                "\n" +
                "    /**\n" +
                "     * 工单流水号\n" +
                "     */\n" +
                "    private String mainsn;\n" +
                "\n" +
                "    /**\n" +
                "     * 业务号码\n" +
                "     */\n" +
                "    private String clogcode;\n" +
                "\n" +
                "    /**\n" +
                "     * 故障现象描述\n" +
                "     */\n" +
                "    private String createInfo;\n" +
                "\n" +
                "    /**\n" +
                "     * 故障预处理详情\n" +
                "     */\n" +
                "    private String preDetailInfo;\n" +
                "\n" +
                "    /**\n" +
                "     * 修复原因\n" +
                "     */\n" +
                "    private String realbandhealth;\n" +
                "\n" +
                "    /**\n" +
                "     * 产品名称\n" +
                "     */\n" +
                "    private String professionalname;\n" +
                "\n" +
                "    /**\n" +
                "     * 受理时间/派单时间\n" +
                "     */\n" +
                "    private LocalDateTime firstrecepttime;\n" +
                "\n" +
                "    /**\n" +
                "     * 回单时间\n" +
                "     */\n" +
                "    private LocalDateTime revertTime;\n" +
                "\n" +
                "    /**\n" +
                "     * 归档时间\n" +
                "     */\n" +
                "    private LocalDateTime archTime;\n" +
                "\n" +
                "    /**\n" +
                "     * 预约动作时间\n" +
                "     */\n" +
                "    private LocalDateTime bookTime;\n" +
                "\n" +
                "    /**\n" +
                "     * 预约开始时间\n" +
                "     */\n" +
                "    private LocalDateTime suspendBeginTime;\n" +
                "\n" +
                "    /**\n" +
                "     * 预约结束时间\n" +
                "     */\n" +
                "    private LocalDateTime suspendEndTime;\n" +
                "\n" +
                "    /**\n" +
                "     * 网格编码\n" +
                "     */\n" +
                "    private String netCode;\n" +
                "\n" +
                "    /**\n" +
                "     * 故障工单类型\n" +
                "     */\n" +
                "    private String billType;";
        print(s);
    }


    private static void print(String s) {
        String[] split = s.split("\n");
        Arrays.stream(split).filter(item -> item.contains("private")).forEach(item -> System.out.println(item.trim()));
    }

}
